package com.platform.pay.model;

import javax.persistence.criteria.CriteriaBuilder;

public class Alipay {

    /**
     * 标识
     */
    private Integer id;

    /**
     * 支付宝的编号
     */
    private String appId;

    /**
     * 字符集编码
     */
    private String inputCharset;

    /**
     * 支付宝公钥
     */
    private String alipayPublicKey;

    /**
     * 应用私钥
     */
    private String signPrivateKey;

    /**
     * 标识
     */
    private String type;


    /**
     * 接收者的ID
     */
    private String receiveId;

    /**
     * 状态是否可用
     */
    private String status;

    /**
     * 回调的路径
     */
    private String notifyUrl;

    public Alipay() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getInputCharset() {
        return inputCharset;
    }

    public void setInputCharset(String inputCharset) {
        this.inputCharset = inputCharset;
    }

    public String getAlipayPublicKey() {
        return alipayPublicKey;
    }

    public void setAlipayPublicKey(String alipayPublicKey) {
        this.alipayPublicKey = alipayPublicKey;
    }

    public String getSignPrivateKey() {
        return signPrivateKey;
    }

    public void setSignPrivateKey(String signPrivateKey) {
        this.signPrivateKey = signPrivateKey;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Alipay(Integer id, String appId, String inputCharset, String alipayPublicKey, String signPrivateKey, String type, String receiveId, String status, String notifyUrl) {
        this.id = id;
        this.appId = appId;
        this.inputCharset = inputCharset;
        this.alipayPublicKey = alipayPublicKey;
        this.signPrivateKey = signPrivateKey;
        this.type = type;
        this.receiveId = receiveId;
        this.status = status;
        this.notifyUrl = notifyUrl;
    }
}
